package modele;

import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JTextField;

public class InfoThread implements Runnable {

	private JTextField t1, t2, t3, t4, t5, t6, t7, t8;
	private JComboBox cbGroup;
	private JLabel lblphoto;
	private JList list;

	public InfoThread(JTextField t1, JTextField t2, JTextField t3,
			JTextField t4, JTextField t5, JTextField t6, JTextField t7,
			JTextField t8, JList list, JComboBox cbGroup, JLabel lblphoto) {
		// TODO Auto-generated constructor stub
		this.t1 = t1;
		this.t2 = t2;
		this.t3 = t3;
		this.t4 = t4;
		this.t5 = t5;
		this.t6 = t6;
		this.t7 = t7;
		this.t8 = t8;
		this.list = list;
		this.cbGroup = cbGroup;
		this.lblphoto = lblphoto;
	}

	@Override
	public void run() {
		// TODO Auto-generated method stub
		Contact.display(t1, t2, t3, t4, t5, t6, t7, t8, list, cbGroup, lblphoto);
	}

}
